package com.atkxp.service;

import com.atkxp.domain.Cart;
import com.atkxp.domain.Order;
import com.atkxp.domain.OrderItem;

import java.util.List;

/**
 * @author user
 * @declaration
 * @create 2022/10/5-10:19
 */
public interface OrderService {
    public String createOrder(Cart cart, int user_id);

    public List<Order> showAllOrders();

    public int sendOrder(String orderId);

    public List<OrderItem> showOrderDetails(String orderId);

    public List<Order> showMyOrders(int userId);

    public int receiveOrder(String orderId);


}
